<template>
    <div class="page-content">
      <router-view/>
    </div>
</template>
<script>
    export default{
        computed:{
            count(){
                //this指向当前组件对象
                return this.$store.state.demo.count
            }
        }
    }
</script>
<style scoped>
</style>